import BaseView from "./baseView.js";



/**
 * 登录
 */
export default class Login extends BaseView{

    redern(){
        this.$app.html(
           `<h1>登录界面</h1>
           <button id="toMainBtn">到主界面</button>`
        )
    }
    hander(){
        $("#toMainBtn").on("click",function () {
            // console.log("123");
            // new Main({elem:"#app"});
            window.location.hash= "/main"
        })
    }

}

